projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9065c7
)
; * package-vc.el (package-vc-read-pkg): Return package description
author
Philip Kaludercic
<philipk@posteo.net>
Fri, 7 Oct 2022 16:59:42 +0000
(18:59 +0200)
committer
Philip Kaludercic
<philipk@posteo.net>
Sat, 8 Oct 2022 09:57:38 +0000
(11:57 +0200)
lisp/emacs-lisp/package-vc.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/package-vc.el
b/lisp/emacs-lisp/package-vc.el
index e03a5f73b4be162a5539125a01205f8228d66ebe..2d3769448d2c210c7601f12a21384b8c4647ddfe 100644
(file)
--- a/
lisp/emacs-lisp/package-vc.el
+++ b/
lisp/emacs-lisp/package-vc.el
@@
-288,11
+288,13
@@
be requested using REV."
(defun package-vc-read-pkg (prompt)
"Query for a source package description with PROMPT."
- (completing-read
- prompt
- package-alist
- (lambda (pkg) (package-vc-p (cadr pkg)))
- t))
+ (cadr (assoc (completing-read
+ prompt
+ package-alist
+ (lambda (pkg) (package-vc-p (cadr pkg)))
+ t)
+ package-alist
+ #'string=)))
(defun package-vc-prepare-patch (pkg subject revisions)
"Send a patch to the maintainer of a package PKG.